package com.shemy.service;

import com.shemy.entity.SysMenu;
import com.shemy.entity.SysRole;

import java.util.List;

public interface SysMenuService {


    int deleteByPrimaryKey(Integer menuId);

    int insert(SysMenu record);

    int insertSelective(SysMenu record);

    SysMenu selectByPrimaryKey(Integer menuId);

    int updateByPrimaryKeySelective(SysMenu record);

    int updateByPrimaryKey(SysMenu record);

    List<SysMenu> findAllByRoles(List<SysRole> roles);

}


